package com.chen.aicodeplatform.controller;

import com.chen.aicodeplatform.common.BaseResponse;
import com.chen.aicodeplatform.common.ResultUtils;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: coder钰
 * @Date: 2025-08-22-23:13
 * @Version: 1.0
 * @Description: 测试接口
 */
@RestController
@RequestMapping("/health")
public class HealthController {

    @GetMapping("/")
    public BaseResponse<String> healthCheck() {
        return ResultUtils.success("ok");
    }
}
